﻿using System.Drawing;

namespace ReAnimation.Helpers.Drawing
{
    public static class ColorHelper
    {
        public static float[] GetFloatColors(this Color color)
        {
            return new[]
                       {
                           (float) (color.R/255.0),
                           (float) (color.G/255.0),
                           (float) (color.B/255.0)
                       };
        }
    }
}